package com.ssis.core;


public class Cargo {
	private int credits;
	private int energy;
	
	public Cargo() {
		credits = 300;
		energy = 100;
	}
	
	public int getCredits() {
		return credits;
	}
	
	public void setCredits(int credits) {
		this.credits = credits;
	}
	
	public void changeCredits(int amount) {
		this.credits += amount;
	}
	
	public int getEnergy() {
		return energy;
	}
	
	public void setEnergy(int energy) {
		this.energy = energy;
	}
	
	public void changeEnergy(int amount) {
		this.energy += amount;
	}
}
